<?php /* Smarty version Smarty-3.1.18, created on 2015-05-13 18:08:26
         compiled from "../application/views/home/teacherlist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:14239694985553229a220829-27099246%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ee4affd275aa198cbf5028236151765d197fefc1' => 
    array (
      0 => '../application/views/home/teacherlist.tpl',
      1 => 1431434051,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '14239694985553229a220829-27099246',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'block' => 0,
    'cateNow' => 0,
    'IsDivide' => 0,
    'data' => 0,
    'v' => 0,
    'c' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_5553229a265bd7_85572029',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5553229a265bd7_85572029')) {function content_5553229a265bd7_85572029($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("home/header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<div id="main">
	<div class="container">
	<?php if (!empty($_smarty_tpl->tpl_vars['block']->value)) {?>
	<?php echo $_smarty_tpl->getSubTemplate ('home/sidebar-training.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	<?php } else { ?>
	<?php $_smarty_tpl->tpl_vars["block"] = new Smarty_variable('', null, 0);?>
	<?php echo $_smarty_tpl->getSubTemplate ('home/sidebar-training.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	<?php }?>
		<div class="main-right">
			<div class="main-title">
				<h1><?php echo h($_smarty_tpl->tpl_vars['cateNow']->value[0]['CateName']);?>
</h1>
				<?php echo $_smarty_tpl->getSubTemplate ("home/crumbs.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

			</div>
			<div class="main-content">
				<div class="teacher-intro">
					<?php if ($_smarty_tpl->tpl_vars['IsDivide']->value) {?>
					<div class="teacher-classify">
						<a href="<?php echo site_url("home/TeacherList?CateId=".((string)$_smarty_tpl->tpl_vars['cateNow']->value[0]['Id']));?>
" class="teacher-tab">职称</a>
						<a href="<?php echo site_url("home/TeacherList?CateId=".((string)$_smarty_tpl->tpl_vars['cateNow']->value[0]['Id'])."&method=bodao");?>
" class="teacher-tab">博导</a>
						<a href="<?php echo site_url("home/TeacherList?CateId=".((string)$_smarty_tpl->tpl_vars['cateNow']->value[0]['Id'])."&method=department");?>
" class="teacher-tab">系所</a>
					</div>
					<?php }?>
					<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['data']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
					<div class="teacher-group">
						<p class="group-name"><?php echo h($_smarty_tpl->tpl_vars['v']->value['Title']);?>
</p>
						<?php  $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['c']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['v']->value['Child']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value) {
$_smarty_tpl->tpl_vars['c']->_loop = true;
?>
						<a href="<?php echo site_url("home/TeacherContent?Id=".((string)$_smarty_tpl->tpl_vars['c']->value['Id']));?>
"><?php echo $_smarty_tpl->tpl_vars['c']->value['Name'];?>
</a>
						<?php } ?>
					</div>
					<?php } ?>
				</div>
				<div class="page-footer"></div>
			</div>
		</div>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("home/footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
